﻿using System;
namespace TraumaCenterSystem.Model
{
    public class GetEHMR
    {
        public EMS_PATIENT_INFO patientInfo { get; set; }
        public EMS_AMBULANCE_INFO ambulanceInfo { get; set; }
        public EMS_PATIENT_SIGNS patientSigns { get; set; }
        public MR_EpiduralHematoma MR_EpiduralHematoma { get; set; }
    }
    public class EMS_PATIENT_INFO
    {
        public int ID { get; set; }
        public string EMS_SERIAL_NUM { get; set; }
        public string PATIENT_ID { get; set; }
        public string PATIENT_NAME { get; set; }
        public string PATIENT_SEX { get; set; }
        public string PATIENT_AGE { get; set; }
        public string PATIENT_PHONE { get; set; }
        public string PATIENT_ID_NUM { get; set; }
        public string PATIENT_ADDR { get; set; }
        public int PATIENT_STATUS { get; set; }
        public string IS_BINDING_WRISTBAND { get; set; }
        public string WRISTBAND_NUM { get; set; }
        public string DiseaseDep { get; set; }
        public Nullable<System.DateTime> ConsultationTime { get; set; }
        public Nullable<System.DateTime> LeaveDepTime { get; set; }
        public string PATIENT_ARRIVE_CLASS { get; set; }
        public Nullable<int> CarType { get; set; }
        public Nullable<System.DateTime> DoctorArriveTime { get; set; }
        public int IsNetHospital { get; set; }
        public string TransferOutHospital { get; set; }
        public Nullable<System.DateTime> ArriveDoorTime { get; set; }
        public Nullable<System.DateTime> SureTransferOutTime { get; set; }
        public Nullable<System.DateTime> AmbulanceArriveTime { get; set; }
        public Nullable<System.DateTime> LeaveTime { get; set; }
        public string FirstPlace { get; set; }
        public string FRIST_DOC_ID { get; set; }
        public string FRIST_DOC_NAME { get; set; }
        public Nullable<System.DateTime> FRIST_H_ECG_TIME { get; set; }
        public Nullable<System.DateTime> ECG_CONFIRM_TIME { get; set; }
        public Nullable<System.DateTime> H_MEDICAL_TIME { get; set; }
        public string IS_ROUND { get; set; }
        public string ROUND_DEP { get; set; }
        public string THROUGH_TO_DEP { get; set; }
        public Nullable<System.DateTime> THROUGH_TO_TIME { get; set; }
        public string PRE_DIAGNOSIS { get; set; }
        public Nullable<System.DateTime> PRE_DIAGNOSIS_TIME { get; set; }
        public string DIAGNOSIS_DOC_ID { get; set; }
        public string DIAGNOSIS_DOC_NAME { get; set; }
        public string PATIENT_REMARK { get; set; }
        public string IS_PATH_WAY { get; set; }
        public int DiagnosticPathId { get; set; }
        public string NURSE_ID { get; set; }
        public string NURSE_NAME { get; set; }
        public Nullable<System.DateTime> CREATE_TIME { get; set; }
        public Nullable<System.DateTime> UPDATE_TIME { get; set; }
        public string CardiologistName { get; set; }
        public Nullable<System.DateTime> ConsultatTime { get; set; }
        public Nullable<System.DateTime> StartCatheterTime { get; set; }
        public int IsThrombolysis { get; set; }
        public string ThrombolysisAddr { get; set; }
        public Nullable<System.DateTime> ThrombolysisTime { get; set; }
        public string ThrombolysisMedicine { get; set; }
        public string ThrombolysisDose { get; set; }
        public Nullable<System.DateTime> DrawBloodTime { get; set; }
        public Nullable<System.DateTime> ReportTime { get; set; }
        public string CtnlValue { get; set; }
        public string CtnlUnit { get; set; }
        public int CtnlStatus { get; set; }
        public string CtntValue { get; set; }
        public string CtntUnit { get; set; }
        public int CtntStatus { get; set; }
        public string CrValue { get; set; }
        public string CrUnit { get; set; }
        public int OutComeType { get; set; }
        public Nullable<System.DateTime> LeaveHospitalTime { get; set; }
        public int TreatmentResultType { get; set; }
        public string TakeMedicineType { get; set; }
        public Nullable<System.DateTime> LeaveDoorTime { get; set; }
        public string TransferHospitalName { get; set; }
        public Nullable<System.DateTime> TransferArriveTime { get; set; }
        public string TransferReason { get; set; }
        public int IsPCI { get; set; }
        public int IsDirectCatheter { get; set; }
        public Nullable<System.DateTime> TransferDepTime { get; set; }
        public Nullable<System.DateTime> ReceptionTime { get; set; }
        public string TransferDepReason { get; set; }
        public Nullable<System.DateTime> DieTime { get; set; }
        public int IsCardiogenic { get; set; }
        public string DieDescribe { get; set; }
        public int IsHelp { get; set; }
        public Nullable<System.DateTime> HelpTime { get; set; }
        public string ConditionAssessment { get; set; }
        public Nullable<System.DateTime> RegisterTime { get; set; }
        public Nullable<int> IsGreenChannel { get; set; }
        public Nullable<int> ApprovalStatus { get; set; }
        public string ApprovalRemark { get; set; }
        public string UpdateUserId { get; set; }
        public int IsDelete { get; set; }
        public string Medical_Name { get; set; }
        public Nullable<System.DateTime> Contact_Time { get; set; }
        public string First_Institutions { get; set; }
        public string Image_ADD { get; set; }
        public Nullable<System.DateTime> Ecg_Time { get; set; }
        public string RFID { get; set; }
        public Nullable<System.DateTime> Doubt_Radiology_NoticeTime { get; set; }
        public Nullable<System.DateTime> Doubt_Radiology_ArriveTime { get; set; }
        public Nullable<System.DateTime> Doubt_Radiography_Time { get; set; }
        public Nullable<System.DateTime> Doubt_Radiography_DIAGNOSISTime { get; set; }
        public string Doubt_Radiography_DIAGNOSIS { get; set; }
        public Nullable<System.DateTime> Ecg_Confirmed_Time { get; set; }
        public Nullable<System.DateTime> FirstDiagnosisTime { get; set; }
        public Nullable<System.DateTime> RoomMeetTime { get; set; }
        public string MeetRoomName { get; set; }
        public Nullable<System.DateTime> DeliveryTime { get; set; }
        public Nullable<double> AspirinYn { get; set; }
        public Nullable<double> TicagrelorYn { get; set; }
        public Nullable<double> ClopidogrelYn { get; set; }
        public Nullable<System.DateTime> LeaveRoomTime { get; set; }
        public Nullable<System.DateTime> DeterminCatheterTime { get; set; }
        public Nullable<System.DateTime> StartinforConsentTime { get; set; }
        public Nullable<System.DateTime> SigninforConsentTime { get; set; }
        public Nullable<int> Enzyme { get; set; }
        public Nullable<int> Urokinase { get; set; }
        public string GuessD2BMins { get; set; }
        public string PatCardNO { get; set; }
        public Nullable<System.DateTime> CreateTime { get; set; }
        public Nullable<int> Hospital_Admitted { get; set; }
        public Nullable<int> Trauma_Diagnosis { get; set; }
        public string Hospital_ID { get; set; }
        public string Patient_NativePlace { get; set; }
        public string Patient_Passport { get; set; }
        public string Patient_HMTID_NUM { get; set; }

    }
    public class EMS_AMBULANCE_INFO
    {
        public int ID { get; set; }
        public string EMS_SERIAL_NUM { get; set; }
        public string PATIENT_ID { get; set; }
        public string PATIENT_NAME { get; set; }
        public string AMBULANCE_NUM { get; set; }
        public string EMS_DOC_ID1 { get; set; }
        public string EMS_DOC_NAME1 { get; set; }
        public string EMS_DOC_ID2 { get; set; }
        public string EMS_DOC_NAME2 { get; set; }
        public string EMS_NURSE_ID1 { get; set; }
        public string EMS_NURSE_NAME1 { get; set; }
        public string EMS_NURSE_ID2 { get; set; }
        public string EMS_NURSE_NAME2 { get; set; }
        public string EMS_REASON { get; set; }
        public string EMS_DISEASE_ADDR { get; set; }
        public Nullable<System.DateTime> EMS_DISEASE_TIME { get; set; }
        public string EMS_TYPE { get; set; }
        public Nullable<System.DateTime> EMS_MESSAGE_TIME { get; set; }
        public Nullable<System.DateTime> EMS_LEAVE_TIME { get; set; }
        public Nullable<System.DateTime> EMS_ARRIVE_TIME { get; set; }
        public Nullable<System.DateTime> EMS_BACKTO_TIME { get; set; }
        public Nullable<System.DateTime> EMS_ARRIVEDOOR_TIME { get; set; }
        public string PRE_ECG_ADDR { get; set; }
        public Nullable<System.DateTime> PRE_ECG_TIME { get; set; }
        public string IS_ECG_TRANSMISSION { get; set; }
        public string TRANSMISSION_CLASS { get; set; }
        public Nullable<System.DateTime> TRANSMISSION_TIME { get; set; }
        public string NURSE_ID { get; set; }
        public string NURSE_NAME { get; set; }
        public string AMBULANCE_DEPARTMENT { get; set; }
        public string EMS_HOSPITAL { get; set; }
        public Nullable<System.DateTime> Delivery_Time { get; set; }
        public Nullable<System.DateTime> Catheter_Ecg_Time { get; set; }
        public Nullable<System.DateTime> Troponin_Blood_Time { get; set; }
        public Nullable<System.DateTime> Contact_Time { get; set; }
        public string Image1_ADD { get; set; }
        public string Image2_ADD { get; set; }
        public string Drug_Name { get; set; }
        public string First_Institutions { get; set; }
        public string Medical_Name { get; set; }
        public Nullable<System.DateTime> Ecg_Time { get; set; }
        public Nullable<double> Aspirin { get; set; }
        public Nullable<double> Ticagrelor { get; set; }
        public Nullable<double> Clopidogrel { get; set; }
        public Nullable<System.DateTime> AdmissionTime { get; set; }
        public Nullable<int> AdmissionPath { get; set; }

    }

    public class EMS_PATIENT_SIGNS
    {
        public int PATIENT_SIGNS_ID { get; set; }
        public string EMS_SERIAL_NUM { get; set; }
        public string PATIENT_ID { get; set; }
        public string PATIENT_NAME { get; set; }
        public string PATIENT_TEMPERATURE { get; set; }
        public Nullable<int> PATIENT_PULSE { get; set; }
        public Nullable<int> PATIENT_BREATHE { get; set; }
        public Nullable<int> PATIENT_BLOOD_L { get; set; }
        public Nullable<int> PATIENT_BLOOD_H { get; set; }
        public Nullable<int> PATIENT_HEART { get; set; }
        public Nullable<int> PATIENT_SPO2 { get; set; }
        public string PATIENT_CONSCIOUSNESS { get; set; }
        public string NURSE_ID { get; set; }
        public string NURSE_NAME { get; set; }
        public string Patient_National { get; set; }
        public Nullable<int> Patient_Pay_Type { get; set; }
        public Nullable<int> Patient_Hospital_Num { get; set; }
        public Nullable<int> Patient_StrokeInHospital { get; set; }
        public Nullable<double> Patient_Height { get; set; }
        public Nullable<double> Patient_Weight { get; set; }
        public string Patient_BMI { get; set; }
        public string Patient_ShockIndex { get; set; }
        public Nullable<int> Assessment_CerebralHernia_Bool { get; set; }
        public Nullable<int> Assessment_GCS_Bool { get; set; }
        public Nullable<double> Assessment_GCS_Score { get; set; }
        public Nullable<double> Total_Score { get; set; }
        public Nullable<int> Total_Bool { get; set; }
        public Nullable<double> Basic_PHI_Score { get; set; }
        public Nullable<int> Basic_Warning_Score { get; set; }

    }
    public partial class MR_EpiduralHematoma
    {
        public int ID { get; set; }
        public Nullable<System.DateTime> Hospital_Out_Time { get; set; }
        public Nullable<int> Hospital_Out_Type { get; set; }
        public Nullable<System.DateTime> Hospital_Death_Time { get; set; }
        public string Hospital_Death_Why { get; set; }
        public string Hospital_Drug_Bool { get; set; }
        public Nullable<int> Hospital_GCS_Bool { get; set; }
        public Nullable<double> Hospital_GCS_Score { get; set; }
        public Nullable<int> Rehabilitation_Treatment_Bool { get; set; }
        public string Rehabilitation_Treatment_Type { get; set; }
        public string Rehabilitation_Treatment_Adress { get; set; }
        public Nullable<int> Health_Education_Bool { get; set; }
        public string Health_Education_Type { get; set; }
        public Nullable<System.DateTime> Treatment_OperatingRoom_Time { get; set; }
        public Nullable<System.DateTime> Treatment_Anesthesia_STime { get; set; }
        public Nullable<System.DateTime> Treatment_Surgery_STime { get; set; }
        public Nullable<System.DateTime> Treatment_Surgery_ETime { get; set; }
        public Nullable<System.DateTime> Treatment_RemoveLine_Time { get; set; }
        public string Treatment_NoSurgery_Information { get; set; }
        public Nullable<System.DateTime> Check_FirstDiagnosis_Time { get; set; }
        public Nullable<System.DateTime> Check_Blood_Time { get; set; }
        public Nullable<int> Check_HeadCT_Bool { get; set; }
        public Nullable<System.DateTime> Check_HeadCT_Time { get; set; }
        public Nullable<int> Check_HeadX_Bool { get; set; }
        public Nullable<System.DateTime> Check_HeadX_Time { get; set; }
        public Nullable<int> Check_ChestX_Bool { get; set; }
        public Nullable<System.DateTime> Check_ChestX_Time { get; set; }
        public Nullable<int> Check_ECG_Bool { get; set; }
        public Nullable<System.DateTime> Check_ECG_Time { get; set; }
        public Nullable<int> Check_BU_Bool { get; set; }
        public Nullable<System.DateTime> Check_BU_Time { get; set; }
        public Nullable<int> Check_DiagnosisInfor_Bool { get; set; }
        public Nullable<System.DateTime> Check_DiagnosisInfor_Time { get; set; }
        public Nullable<double> Check_CTMSXZL_Volume { get; set; }
        public Nullable<double> Check_CTMXXZL_Volume { get; set; }
        public Nullable<double> Check_CTMQXZL_Volume { get; set; }
        public Nullable<double> Check_CTZXJGWY_Distance { get; set; }
        public Nullable<int> Check_SkullFracture_Type { get; set; }
        public Nullable<int> Check_FracturedRibs_Type { get; set; }
        public Nullable<int> Check_ECG_Type { get; set; }
        public Nullable<int> Check_BU_Type { get; set; }
        public string Patient_ID { get; set; }
        public string Check_DrugAllergy_Name { get; set; }
        public Nullable<double> Check_RedCells_Num { get; set; }
        public Nullable<double> Check_Hemoglobin_Num { get; set; }
        public Nullable<double> Check_RedCellsDeposited_Num { get; set; }
        public Nullable<double> Check_WhiteCells_Num { get; set; }
        public Nullable<double> Check_Neutrophils_Num { get; set; }
        public Nullable<double> Check_Platelet_Num { get; set; }
        public Nullable<double> Check_Thrombin_Time { get; set; }
        public Nullable<double> Check_PartThrombin_Time { get; set; }
        public Nullable<double> Check_Dimer_Num { get; set; }
        public Nullable<double> Check_PT_Num { get; set; }
        public Nullable<double> Check_Fibrinogen_Num { get; set; }
        public Nullable<double> Check_ThrombinOld_Time { get; set; }
        public Nullable<int> Check_HepatitisB_bool { get; set; }
        public Nullable<int> Check_HepatitisC_bool { get; set; }
        public Nullable<int> Check_HepatitisE_bool { get; set; }
        public Nullable<int> Check_ABO_bool { get; set; }
        public Nullable<int> Check_RH_bool { get; set; }
        public Nullable<int> Check_Hiv_bool { get; set; }
        public Nullable<int> Check_TP_bool { get; set; }
        public string Check_ECG_Conclusion { get; set; }
        public string Check_BU_Conclusion { get; set; }
        public Nullable<int> Check_X_Bool { get; set; }
        public Nullable<System.DateTime> Check_X_Time { get; set; }
        public string Check_X_Conclusion { get; set; }
        public Nullable<int> Check_CT_Bool { get; set; }
        public Nullable<System.DateTime> Check_CT_Time { get; set; }
        public string Check_CT_Conclusion { get; set; }
        public Nullable<int> Check_PleuralPuncture_Bool { get; set; }
        public Nullable<System.DateTime> Check_PleuralPuncture_Time { get; set; }
        public string Check_PleuralPuncture_Conclusion { get; set; }
        public Nullable<int> Check_AbdominalPuncture_Bool { get; set; }
        public Nullable<System.DateTime> Check_AbdominalPuncture_Time { get; set; }
        public string Check_AbdominalPuncture_Conclusion { get; set; }
        public Nullable<int> Check_PrimaryDiagnosis_Bool { get; set; }
        public Nullable<System.DateTime> Check_PrimaryDiagnosis_Time { get; set; }
        public string Check_PrimaryDiagnosis_Conclusion { get; set; }
        public Nullable<double> Check_AIS_Score { get; set; }
        public Nullable<double> Check_ISS_Score { get; set; }
        public Nullable<double> Hospital_BloodSugar_Num { get; set; }
        public Nullable<double> Hospital_TI_Score { get; set; }
        public Nullable<double> Hospital_TS_Score { get; set; }
        public Nullable<int> Hospital_Surgery_Num { get; set; }
        public Nullable<double> Hospital_Stranded_Lenght { get; set; }
        public Nullable<int> Hospital_ICU_Bool { get; set; }
        public Nullable<double> Hospital_ICU_Day { get; set; }
        public Nullable<int> Hospital_BreathingMachine_Bool { get; set; }
        public Nullable<double> Hospital_BreathingMachine_Day { get; set; }
        public string Hospital_Out_TypeOther { get; set; }
        public Nullable<System.DateTime> Treatment_ApplyBlood_Time { get; set; }
        public Nullable<System.DateTime> Treatment_StartBlood_Time { get; set; }
        public string Treatment_Name { get; set; }
        public Nullable<int> Treatment_LV { get; set; }
        public string Treatment_To { get; set; }
        public Nullable<System.DateTime> TreatmentU_QGCG_Time { get; set; }
        public Nullable<System.DateTime> TreatmentU_XQBSYL_Time { get; set; }
        public Nullable<System.DateTime> TreatmentU_BX_Time { get; set; }
        public Nullable<System.DateTime> TreatmentU_SX_Time { get; set; }
        public Nullable<System.DateTime> TreatmentU_JTGD_Time { get; set; }
        public Nullable<System.DateTime> TreatmentU_XDGD_Time { get; set; }
        public Nullable<System.DateTime> TreatmentU_GPGD_Time { get; set; }
        public Nullable<System.DateTime> TreatmentU_QYS_Time { get; set; }
        public Nullable<System.DateTime> TreatmentU_LKQJS_Time { get; set; }
        public string TreatmentU_Other { get; set; }
        public string Hospital_Death_WhyOther { get; set; }
        public Nullable<int> PHI_Consciousness_Int { get; set; }
        public Nullable<int> PHI_WoundType_Int { get; set; }
        public Nullable<int> GCS_OpenEye_State { get; set; }
        public Nullable<int> GCS_Speak_State { get; set; }
        public Nullable<int> GCS_Sport_State { get; set; }
        public Nullable<int> TI_Parts_Location { get; set; }
        public Nullable<int> TI_Trauma_Type { get; set; }
        public Nullable<int> TI_Cycle_Type { get; set; }
        public Nullable<int> TI_Consciousness_Int { get; set; }
        public Nullable<int> TI_Breathing_Int { get; set; }
        public Nullable<int> TS_BreathingAmplitude_Int { get; set; }
        public Nullable<int> TS_CapillaryFilling_Int { get; set; }
        public Nullable<int> AIS_Head_Score { get; set; }
        public Nullable<int> AIS_Chest_Score { get; set; }
        public Nullable<int> AIS_Face_Score { get; set; }
        public Nullable<int> AIS_Abdomen_Score { get; set; }
        public Nullable<int> AIS_Llimbs_Score { get; set; }
        public Nullable<int> AIS_Body_Score { get; set; }
    }
    /// <summary>
    /// 创伤时间路径结构
    /// </summary>
    public class GetTimePath
    {
        public EMS_PATIENT_INFO patientInfo { get; set; }
        public EMS_AMBULANCE_INFO ambulanceInfo { get; set; }
        public PatientTimePath patientTimePath { get; set; }
    }
    /// <summary>
    /// 患者创伤时间路径数据
    /// </summary>
    public class PatientTimePath
    {
        public int Id { get; set; }
        public string PATIENT_ID { get; set; }
        public Nullable<System.DateTime> InspectionTime { get; set; }
        public Nullable<System.DateTime> BloodSugarTestTime { get; set; }
        public Nullable<System.DateTime> ElectrocardiogramTestTime { get; set; }
        public Nullable<System.DateTime> CTOpenBillTime { get; set; }
        public Nullable<System.DateTime> OnsetTime { get; set; }
        public Nullable<System.DateTime> ArriveCTTime { get; set; }
        public Nullable<System.DateTime> CTTestEndTime { get; set; }
        public Nullable<System.DateTime> CTTestReportTime { get; set; }
        public Nullable<System.DateTime> CBCTestTime { get; set; }
        public Nullable<System.DateTime> CoagulationTestTime { get; set; }
        public Nullable<System.DateTime> RenalTestTime { get; set; }
        public Nullable<System.DateTime> ThrombolysisReceptionTime { get; set; }
        public Nullable<System.DateTime> ThrombolysisTalkTime { get; set; }
        public Nullable<System.DateTime> ThrombolysisSignTime { get; set; }
        public Nullable<System.DateTime> ThrombolysisArriveTime { get; set; }
        public Nullable<System.DateTime> FirstAdministrationTime { get; set; }
        public Nullable<System.DateTime> Thrombolysis24hBleedTime { get; set; }
        public Nullable<System.DateTime> TreatTalkTime { get; set; }
        public Nullable<System.DateTime> TreatSignTime { get; set; }
        public Nullable<System.DateTime> CatheterArriveTime { get; set; }
        public Nullable<System.DateTime> ArteryPunctureTime { get; set; }
        public Nullable<System.DateTime> RadiographyAssessTime { get; set; }
        public Nullable<System.DateTime> VascularRecanalizationTime { get; set; }
        public Nullable<System.DateTime> CatheterLeaveTime { get; set; }
        public Nullable<System.DateTime> Catheter24hBleedTime { get; set; }
        public Nullable<System.DateTime> AmbulanceArriveTime { get; set; }
        public Nullable<System.DateTime> AmbulanceDriveOutTime { get; set; }
        public Nullable<System.DateTime> AmbulanceLeaveTime { get; set; }
    }
}